<?php
	defined( '_JEXEC' ) or die( 'Restricted access' );
	require_once( JApplicationHelper::getPath( 'toolbar_html' ) );
	switch($task)
	{
		case 'editRoute':
		case 'addRoute':
			TOOLBAR_socialroutes::_NEWROUTE();
			break;
		case 'editPOI':
		case 'addPOI':
			TOOLBAR_socialroutes::_NEWPOI();
			break;
		case 'editUser':
		case 'addUser':
			TOOLBAR_socialroutes::_NEWUSER();
			break;
		default:
			TOOLBAR_socialroutes::_DEFAULT();
			break;
	}
?>